You need to upload to the server or download from the server only files with txt extension. The file mask for this case with look this way:
*.txt - only files with txt extension.
For files of other type (e.g. php scripts) the mask will be the following:
*.php - only files with php extension.
You need to process files, names or extensions of which start with, end with or contain definite symbols:
2005*.* - all files, names of which start with 2005 match to this mask: 2005.txt, 2005_10.rep, 2005-all.html;
*2005*.txt - all files, names of which contain 2005 and which have txt extension, match to this mask: 102005.txt, 200510.txt, 2005.txt, all_2005_all.txt;
??-??-2005.??? - all files with three-symbol extension and name of the type: 10-10-2005.rep, aa-bb-2005.txt. File 10-10-2005.gz doesn't match to the aforesaid mask as its extension has only two symbols;
??[a-z].* - all files with any extension, names of which have three symbols where the last symbol is from the range from a to z, match to this mask: 12a.html, qwe.txt, 88z.pl. File 123.txt doesn't match to the aforesaid mask as its last symbol is not from the range a-z;
*[abc].* - all files with any extension and any name length, but with the last symbol a, b or c in the name, match to this mask: 2005a.txt, 2005c.html, bc.pl. File with the name 2005f.txt doesn't match to the aforesaid mask as its last symbol is not a, b or c.
[^a-z]*.txt - all files with txt extension, names of which do not start with symbols a-z, match to this mask: 123.txt, 1_2.html. File with the name report.html doesn't match to the aforesaid mask as its name begins with the symbol r, which is from the range a-z.